<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        {{ name }}
    </div>
</body>
<script src="./vue.js"></script>
<script>
    new Vue({
        // el: '#app'
        data: {
            name: 'xjj'
        },
        template: `<div>
            <h3>我是 tmplate 中的内容</h3>
            {{ name }}
        </div>`
    }).$mount('#app')
</script>

</html>